package org.jeecg.modules.achachievesubjprojitem.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiOperation;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.aspect.annotation.AutoLog;
import org.jeecg.common.system.api.ISysBaseAPI;
import org.jeecg.modules.achachievementsubject.entity.AchAchievementSubjectDemo;
import org.jeecg.modules.achachievementsubject.service.IAchAchievementSubjectService;
import org.jeecg.modules.achachievesubjprojitem.entity.AchAchievementSubjProjItem;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.achachievesubjprojitem.entity.AchAchievementSubjProjItemDemo;
import org.jeecg.modules.achachievesubjprojitem.vo.AchAchievementSubjProjItemVo;
import org.jeecg.modules.common.baseentity.BaseApiEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Description: ach_achievement_subj_proj_item
 * @author: baochangrong
 * @Date:   2022-03-18
 * @Version: V1.0
 */
public interface IAchAchievementSubjProjItemService extends IService<AchAchievementSubjProjItem> {


    /** 全部查询 附带关联名称 VoList */
    IPage<AchAchievementSubjProjItemVo> voList(Page<AchAchievementSubjProjItemVo>page, AchAchievementSubjProjItemVo achAchievementSubjProjItemVo);

    /** 获取分项成绩数据（根据学生及试卷）
     * getAchAchieveSubjProjItemList
     * */
    IPage<AchAchievementSubjProjItemVo>getAchAchieveSubjProjItemList(Page<AchAchievementSubjProjItemVo> page,String studentId,String examinationPaperId,String tenantId);

    ModelAndView exportXlsDemo(HttpServletRequest request, AchAchievementSubjProjItemDemo object, String title, String secondTitle, ISysBaseAPI sysBaseAPI, JSONObject DictList);
    Result<?> importExcelDemo(HttpServletRequest request, HttpServletResponse response, IAchAchievementSubjProjItemService achAchievementSubjProjItemService, BaseApiEntity baseApiEntity);
    Result<?> listBatchNumber(AchAchievementSubjProjItemVo achAchievementSubjProjItemVo);
}
